{% extends "base.html" %}

{% block title %}修改密码{% endblock %}

{% block body_content %}
    <div class="col-sm-offset-6 col-sm-6">
<h2>修改密码</h2>
        </div>
    <form class="form-horizontal" method="post" action="{{ url_for('auth_view.change_password') }}">
        <div class="form-group">
            <label for="old_password" class="col-sm-2 control-label">现有密码</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="old_password" name="old_password" value="" >
            </div>
        </div>

          <div class="form-group">
            <label for="password" class="col-sm-2 control-label">password</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="password" name="password" value="">
            </div>
        </div>
          <div class="form-group">
            <label for="password2" class="col-sm-2 control-label">Confirm Password</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="password2" name="password2" value="">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">修改密码</button>

            </div>
        </div>
    </form>

{% endblock %}